﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebHtml
{
    public partial class WebForm1 : System.Web.UI.Page
    {

        public string GetParameter { get; set; }

        public string FormText1 { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            var str = "";
            var query = Request.QueryString;
            foreach (string s in query)
            {
                str += string.Format(" {0}={1}", s , query[s]);
            }
            GetParameter = str;

            var form = Request.Form;
            if (!string.IsNullOrEmpty( form["text1"]))
            {
                FormText1 = form["text1"];
            }
            
             

        }
    }
}